The Maximum-Mean Subtree

نویسندگان

  • Josiah Carlson
  • David Eppstein
چکیده

In this paper, we define the Maximum-Mean Subtree problem on trees, an equivalent reformulation of the Fractional Prize-Collecting Steiner Tree Problem on Trees. We describe an algorithm that solves the Maximum-Mean Subtree problem, and prove that our algorithm runs in O(n) time in the worst case, improving a previous O(n log n) algorithm. 1 The Maximum-Mean Subtree Problem Given a rooted tree of nodes such that each node has a real valued profit, we are to produce a pruning of the tree that maximizes the average profit of the remaining nodes. Note that pruning a node also prunes all of its descendants. A generalization of this problem gives each node a positive real valued cost, with the original problem assigning each node a cost of 1. The overall average of a tree is the sum of the profits divided by the sum of the costs, including only unpruned nodes. In this paper we present an algorithm that solves the generalization with both profits and costs per node in time O(n). We strictly restrict costs to be positive due to the fact that negative costs result in some instances of the problem being computationally equivalent to Subset-Sum on real numbers. While profits may be negative without affecting the correctness of the result produced by our algorithm (as long as the root has positive profit), it is not clear as to what a negative profit would represent conceptually.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Weighted Maximum-Mean Subtree and Other Bicriterion Subtree Problems

We consider problems in which we are given a rooted tree as input, and must find a subtree with the same root, optimizing some objective function of the nodes in the subtree. When this function is the sum of constant node weights, the problem is trivially solved in linear time. When the objective is the sum of weights that are linear functions of a parameter, we show how to list all optima for ...

متن کامل

Maximum Agreement Subtree in a Set of Evolutionary Trees-Metrics and Efficient Algorithms

The maximum agreement subtree approach is one method of reconciling different evolutionary trees for the same set of species. An agreement subtree enables choosing a subset of the species for whom the restricted subtree is equivalent (under a suitable definition) in all given evolutionary trees. Recently, dynamic programming ideas were used to provide polynomial time algorithms for finding a ma...

متن کامل

Kaikoura Information Processing Letters tree theorems : Computing the maximum agreement subtree

The Maximum Agreement Subtree Problem was posed by Finden and Gordon in 1985, and is as follows: given a set S={s,, sz,..., s,,} and two trees P and Q leaf-labelled by the elements of S, find a maximum cardinality subset S, of S such that PI S, = Q IS,. This problem arises in evolutionary tree construction, where different methods or data yield (possibly) different trees for the same species on...

متن کامل

On the Maximum Common Embedded Subtree Problem for Ordered Trees

The maximum common embedded subtree problem, which generalizes the minor containment problem on trees, is reduced for ordered trees to a variant of the longest common subsequence problem. While the maximum common embedded subtree problem is known to be APX-hard for unordered trees, an exact solution for ordered trees can be found in polynomial time. In this paper, the longest common balanced se...

متن کامل

An improved bound on the maximum agreement subtree problem

We improve the lower bound on the extremal version of the Maximum Agreement Subtree problem. Namely we prove that two binary trees on the same n leaves have subtrees with the same ≥ c log log n leaves which are homeomorphic, such that homeomorphism is identity on the leaves.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005